package com.cxso.example.domain.wlpt.waybill;

import com.cxso.example.enums.wlpt.LocationTypeEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.Date;

@Setter
@Getter
@Accessors(chain = true)
@Schema(description = "运单轨迹信息")
public class ApiWaybillTrajectoryDomain {

    @Schema(description = "定位类型")
    private LocationTypeEnum locationType;

    @Schema(description = "车牌号")
    private String licensePlateNumber;

    @Schema(description = "定位地址")
    private String locationAddress;

    @Schema(description = "定位省份")
    private String locationProvince;

    @Schema(description = "定位市")
    private String locationCity;

    @Schema(description = "定位区")
    private String locationArea;

    @Schema(description = "纬度")
    private BigDecimal lat;

    @Schema(description = "经度")
    private BigDecimal lon;

    @Schema(description = "高德纬度")
    private BigDecimal gaoLat;

    @Schema(description = "高德经度")
    private BigDecimal gaoLon;

    @Schema(description = "方向")
    private String direction;

    @Schema(description = "方向 原始数据")
    private String agl;

    @Schema(description = "速度 （km/h）")
    private String speed;

    @Schema(description = "高度")
    private String high;

    @Schema(description = "里程")
    private String mileage;

    @Schema(description = "定位时间")
    private Date locationTime;

    @Schema(description = "实际定位时间")
    private Date realLocationTime;

    @Schema(description = "定位是否成功")
    private Boolean locationStatus;

    @Schema(description = "描述")
    private String description;

    @Schema(description = "备注")
    private String remark;

}
